home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / hardware / sapep2.lha / SAPEP_v2 / SAPEP_Built_It.txt < prev    next >
Text File  |  1992-12-14  |  10KB  |  233 lines

  1.                 Parts list and building details for SAPEP v2.0
  2.  
  3.     All these parts are stocked items at any Active Componants (Canada), or
  4. Future Electronics (USA).  Everything (except for the ZIF socket) should cost
  5. under $20 bucks.  The file PARTS.PIC shows pinouts for all the parts.
  6.  
  7. -- Logic Chips --
  8. All chips are HC or HCT.  Sub LS at your own risk.
  9. U1      74HC08   Quad AND Gates
  10. U2-4    7407     Hex Hi-V OC Buffers  NOT HC/T!
  11. U5      74HC74   Dual D-Type Flip Flop
  12. U6      74HC138  3 to 8 Demultiplexer
  13. U7-9    74HC139  Dual 2 to 4 Demultiplexer
  14. U10     74HC244  Octal Line Driver
  15. U11     74HC245  Octal BiDir Bus Driver
  16. U12-15  74HC574  Octal D-Type Latch
  17.  
  18. -- Diodes --
  19. D1      T-1 led RED      (Socket Busy)
  20. D2      T-1 led GREEN    (Socket Free)
  21. D3      T-1 led YELLOW   (Programming)
  22. D4      T-1 led RED      (SAPEP Power)
  23. D5-10   1N914            (Signal Diode)
  24. BR1     Bridge Rectifier 1 amp DIP type
  25.  
  26. -- Transistors --
  27. Q1       2N4401
  28. Q2 - Q7  2N4403
  29.  
  30. -- Capacitors --
  31. C1         470uf  35 volts
  32. C2           1uf  32 volts
  33. C3         220uf  10 volts
  34. C4          22uf  10 volts
  35. C5          22uf  25 volts
  36.  
  37. -- Resistors --
  38. All resistors 1/4w & 1%
  39. R1 - R4    330 ohm
  40. R5 - R6    470 ohm
  41. R7 - R10    1k ohm
  42. R11- R20   10k ohm
  43. R21        330 ohm
  44. R22        360 ohm
  45. R23         70 ohm
  46. R24        150 ohm
  47. R25       1400 ohm
  48. R26       2430 ohm
  49. R27- R28   365 ohm
  50. R29        100 ohm
  51. R30        100 ohm
  52. R31         3k ohm
  53. R32- R33   10k ohm
  54.  
  55. -- Misc --
  56. REG1      LM7805  1A     (Circuit Power)
  57. Heat Sink for REG1
  58. REG2 -3    LM317  500ma  (Variable Volts)
  59. ZIF SOCKET  32 pin Zero Insertion Force Socket ($$)
  60. J1        Suitible power jack
  61. PS1       Power Supply AC or DC!  Max 25vdc/24vac.  See text
  62. Male DB25 connector OR Centronics
  63. Perfboard or copper clad circuit board.
  64.  
  65.  
  66.  
  67.  
  68.                 -- How It Works Part 1: Computer Interface --
  69.  
  70.     Because this unit can be connected to a long parallel cable, some type of
  71. buffering/driving system must be in place.  Chips U10 & U11 do just that.  U10
  72. is an octal buffer, and U11 is an octal buffer/driver.  A cable of upto 6 feet
  73. (2m) can be usind to attach the hardware to the computer.  All data lines are
  74. either INPUT or OUTPUT.  The three access lines (Busy/Pout/Sel) are always
  75. outputs.  They are buffered by 1/2 of U10, then the buffered signals go into
  76. U6 which is a 3 to 8 decoder.  When you write/read a byte to the parallel
  77. port, _STROBE goes low for 1.4us.  This will strobe 1 of the 8 outputs of U6.
  78.  
  79.     One half of U7 controlls the actions of U11.  One action (direction) is
  80. decided upon the state of the three access lines.  If all are LOW, then
  81. Y0 will go low, and data will flow from SAPEP to the computer, otherwise, data
  82. flows from the computer to SAPEP.  The other action is isolation.  When
  83. Busy/Pout/Sel are all high, U11 isolates the computer's data lines from the
  84. data lines found in SAPEP.  This works out very well, from a safty point of
  85. view.  No conflicts will occur if you try and print with SAPEP plugged in.
  86.  
  87.                    -- How It Works Part 2: Data Storage --
  88.  
  89.     All data is stored in 4 74HC574 Octal latches.  U12, U13 and half of U14
  90. store the 20 address lines (A0-A19) that goto the ZIF socket.  The other half
  91. of U14 and all of U15 route timing signals, set voltages, and configure the
  92. socket.  A short synopsis of the functions are:
  93.  
  94. Chip bits    Function
  95. U12  0 - 7   Address lines A0 to A7
  96.  
  97. U13  0 - 7   Address lines A7 to A15
  98.  
  99. U14  0 - 3   Address lines A16 to A19
  100.      4 & 5   Which pin gets the program pulse
  101.      6 & 7   Which pin has Vcc on it
  102.  
  103. U15  0 - 2   Which pin has Vpp on it
  104.      3 & 4   Sets Vcc to 5.00, 6.00, 6.25 or 6.50v
  105.      5 - 7   Sets Vpp to 12.00, 12.50, 12.75, 13.00 or 21.00v
  106.  
  107.     Part of U5 also acts as a storage register.  When reading a chip (not
  108. verifying it), this register contains 0 (It is indirectly hooked up to _E).
  109. Most other times, it is kept at logic 1.
  110.  
  111.                      -- How It Works Part 3: The Timer --
  112.  
  113.     A time period of 100us to 78ms is generated by CIA-A inside the Amiga.
  114. This proved to be the most accurate time source.  The other half of U5 is set
  115. up like a toggle flip-flop.  The basic operation is like this:
  116.  
  117. Write the low address bytes to U12 (this SETs the FF to a 1)
  118.  
  119. Kill the Amiga multi-tasking
  120.  
  121. Set the access lines to access the timer FF
  122.  
  123. Write the 16bit timer value to the time registers
  124.      - timer is now counting at 1 count every 1.4us
  125.  
  126. Send the 8bit value to be programmed to the parallel port
  127.      - The timer FF has now been strobed, and it's output goes low
  128.  
  129. Wait in a loop for timer to signal it's done
  130.      - During this time the eprom is burning in the written byte
  131.  
  132. When loop is done, READ the parallel port.  Data stays the same, but we have
  133. strobed the timer FF again, bringing it's output HIGH.
  134.  
  135. The data byte is now burned into the eprom.
  136.  
  137.     Which pin gets the pulsed signal is decided by part of U7.  Because some
  138. PGM pins are address lines on different sized eproms, they must still be
  139. capable of going HIGH or LOW.  The AND gates of U1 allow this to happen.
  140.  
  141.                      -- How It Works Part 4: Setting Voltages --
  142.  
  143.     The key to this project is the ability to adjust the voltages needed by
  144. the eprom to all the industry standards.  The two voltage regulators have
  145. several resistors from thier ADJ pins to ground.  Grounding the junction of
  146. any two resistors will change the regulators output voltage.  The
  147. open-collector buffers are used for this grounding task.  With a logic 1 as
  148. the input, they are basicly disconnected from any voltage (very much like a 3
  149. stated bus).  A logic 0 grounds the outputs.  A normal TTL gate CANNOT be used
  150. for this task.  These resistor ladders act like multi-tap pots.  The values
  151. given are common resistor values.  The actual output voltages should be within
  152. 5% of the following:
  153.  
  154. Vcc supply  5.00v  6.00v  6.25v  6.50v
  155. Vpp supply 12.00v 12.50v 12.75v 13.00v 21.00v
  156.  
  157.     The calibration routines in the software will help you to fine-tune the
  158. voltages (assuming you used a pot here and there), although the output should
  159. be just fine.
  160.  
  161. *NOTE  The buffers add a small amount of resistance when they ground a signal.
  162. Even 50 ohms can cause a .2v difference.  I suggest that if you attempt to mix
  163. and match your own resistor values, you use a buffer gate to get a real-world
  164. voltage value.
  165.  
  166.                    -- How It Works Part 5: Who Gets What --
  167.  
  168.     U9 selects which pins get what signals.  Depending upon the eprom size,
  169. a pin might be Vcc, PGM, Address, Vpp or _G.  The transistors 'switch' in a
  170. higher voltage to the circuit (this could be anywhere from 5 to 21v).  Diodes
  171. protect TTL outputs from the higher voltages.  For example, look at Q8.
  172.  
  173.     If Y3 of controlling half of U9 is low, then Z24 will have whatever
  174. voltage Vpp is set to (12 to 21v).  But D10 protects the AND gate from this
  175. potential killer voltage (no matter what state the AND gate puts out).  If Y3
  176. goes to a '1', that high volatage will no longer appear at the TTL/HiV
  177. junction.  Now the TTL side of the diode determines the logic level.
  178.  
  179.     The diode does drop .7v, so if the TTL part puts out a logic 1 at 5.00v,
  180. the voltage on the other side of the diode will be 4.30v.  I suggest using HC
  181. or HCT parts because thier outputs sit closer to 5v than LS parts.  This is
  182. important when the signal must go over a diode.
  183.  
  184.                     -- How It Works Part 6: Status LEDs --
  185.  
  186.     Three of the four LEDs are driven through U10.  The 74HC244 can
  187. sink/source more current than other parts in this circuit.  D4 is powered
  188. directly from the main circuit's +5v supply.  See the software docs on what
  189. all these LEDs mean.
  190.  
  191.                    -- How It Works Part 7: Power Supply --
  192.  
  193.     One of the great things about this project is the power supply required.
  194. It can be AC or DC, and if you choose DC, the plug polarity doesn't matter!
  195.  
  196.     BR1 can be 4 diodes, or a 4 pin DIP package.  I like using DIP packages,
  197. they take less space, and are simpler to connect.  Depending on what you
  198. intend to do with this project, you can select the adapter accordingly.
  199.  
  200.  Task          Eprom type                    Use
  201. READ (no sig)  Any kind              Min  6vdc/6.3vac  unregulated   300ma
  202. READ/WRITE     Vpp of 12-13v         Min 12vdc/12.6vac unregulated   400ma
  203. READ/WRITE     Vpp of 12-21v         Min 24vdc/25.2vac unregulated   500ma
  204.  
  205. * Note * The adapter voltages may vary according to what family TTL chips you
  206. use.  My all-HC/HCT version pulled 215ma from the 5v supply.  Add another
  207. 100ma for the eprom's power and programming currents.
  208.  
  209.     I suggest you use a CSA/UL rated adapter.  Radio Shack is a good place to
  210. look.  If you're handy with HIGH VOLTAGE, then rig up your own AC supply.  Just
  211. be careful if you do decide to build your own, and keep the transformer OFF
  212. the SAPEP board (or well isolated).  Can't afford to lose any of you guys  ;-)
  213.  
  214.                       -- Other Things You Should Know --
  215.  
  216.     There is NO printed circuit board for this project.  I will do one as soon
  217. as I can find the time, but that might not be for a few months.  My version
  218. fits on 4 bread boards (JUST fits).  Using perfboard will work fine.  All
  219. registered owners of SAPEP will receive a copy of the artwork when it becomes
  220. availible.
  221.     There are no decoupling caps for each chip.  Because of the slow switching
  222. nature of the project, caps aren't needed.  The printed circuit version WILL
  223. have the caps though.
  224.     You MUST use a good heat-sink on REG1.  Even though no more than 300ma of
  225. current is used, it tends to get hot FAST!
  226.     When chips have 2 have DUAL functions (Like the 74HC139), it doesn't
  227. matter which side you use for whatever function.  For example, if your board
  228. layout makes it simpler to combine half of U8's & U9's functions on the same
  229. chip, that's just fine.
  230.  
  231.  
  232. - EOF -
  233.